package com.myframework.smhj.common.exception;

public class MyException extends Throwable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3763645441608965208L;
	
	protected Object data;

	public MyException() {
        super("非法操作");
    }

    public MyException(String s) {
        super(s);
    }

    public MyException(String message, Throwable cause) {
        super(message, cause);
    }

    public MyException(Throwable cause) {
        super(cause);
    }

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
}
